using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Message object
/// </summary>
public class message
{

    private string messageContent;
    private string messageTo;
    private string messageFrom;
    private string messageTitle;


    public message(string messageContent, string messageTo, string messageFrom, string messageTitle)
    {
        this.messageContent = messageContent;
        this.messageFrom = messageFrom;
        this.messageTo = messageTo;
        this.messageTitle = messageTitle;


    }

    public message(string messageTo)
    {

        this.messageTo = messageTo;
    

    }

    public string MessageContent
    {
        get
        {
            return messageContent;
        }
    }

    public string MessageTo
    {
        get
        {
            return messageTo;
        }
    }

    public string MessageFrom
    {
        get
        {
            return messageFrom;
        }
    }

    public string MessageTitle
    {
        get
        {
            return messageTitle;
        }
    }

}
